var History = {

    init: function () {
        var self = this;

        $("#print_tran_history_btn").click(function(){
            var action = $("#print_history").val();
            var url = action;
            window.open(url,action,"menubar=yes, width=600, height=500,location=no,status=no,scrollbars=yes,resizable=yes");
        });
    }
};

/* when the page is loaded */
$(document).ready(function () {
    History.init();
});